package com.jgzx.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description
 * @Author 李松松
 * @Date2021/5/20 15:38
 **/
@Data
@ApiModel(value = "采购入库/销售出库指定仓库查询DTO")
public class OrderByWarehouseQueryDTO extends IdDTO {

    @ApiModelProperty(value = "仓库id")
    @NotNull(message = "仓库ID不能为空")
    private Long warehouse_id;

    @ApiModelProperty(value = "企业id", hidden = true)
    private Long enterprise_id;
}
